var CmpControler = function() {
	
	this.initComponent();
	
	this.cmp = this.bulidComponent();
	this.cmp.c = this;
	
	this.afterBulidComponent();
	return this;
};
//类变量中含有cmp,cm,store和toolbar.
Ext.extend(CmpControler, Ext.util.Observable, {

			initComponent : function() {

			},
			bulidComponent : function() {

			},
			afterBulidComponent : function() {

			},
			getComponent : function() {
				return this.cmp;
			}
		});